home *** CD-ROM | disk | FTP | other *** search
- on startRollover whichSprite
- global gWhichYear
- if gWhichYear <> "2000" then
- hStartRolloverAction(whichSprite)
- end if
- end
-
- on mouseDown
- global gWhichYear
- if gWhichYear <> "2000" then
- if hButtonAction02() then
- mouseUp()
- end if
- end if
- end
-
- on mouseUp
- global gWhichYear, gWhichGender, gWhichAge, gTextSpriteNum, gWhichOldYearSprite
- if gWhichYear <> "2000" then
- cursor(4)
- hDefaultScrollText()
- set gWhichYear to "2000"
- set tWhichText to the number of member (gWhichGender && gWhichAge && gWhichYear && "text") of castLib the castLibNum of sprite gTextSpriteNum
- set the memberNum of sprite gTextSpriteNum to member tWhichText
- puppetSprite(gWhichOldYearSprite, 0)
- set gWhichOldYearSprite to the clickOn
- updateStage()
- hFingerPointingCursor()
- end if
- end
-
- on endRollover whichSprite
- global gWhichYear
- if gWhichYear <> "2000" then
- hEndRolloverAction(whichSprite)
- end if
- end
-